
% ----------------------------------------------------------------------
%                   LATEX TEMPLATE FOR PhD THESIS
% ----------------------------------------------------------------------

% based on Harish Bhanderi's PhD/MPhil template, then Uni Cambridge
% http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/
% corrected and extended in 2007 by Jakob Suckale, then MPI-CBG PhD programme
% and made available through OpenWetWare.org - the free biology wiki


%: Style file for Latex
% Most style definitions are in the external file PhDthesisPSnPDF.
% In this template package, it can be found in ./Latex/Classes/
\documentclass[oneside,12pt]{Latex/Classes/PhDthesisPSnPDF}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{draftwatermark}
\SetWatermarkText{\shortstack{Uncorrected \\ Proof \\ 2013-05-01}}
\SetWatermarkScale{.5}
\SetWatermarkAngle{30}
% \SetWatermarkColor[rgb]{0.7,0,0}
\SetWatermarkColor[gray]{0.90}


%: Macro file for Latex
% Macros help you summarise frequently repeated Latex commands.
% Here, they are placed in an external file /Latex/Macros/MacroFile1.tex
% An macro that you may use frequently is the figuremacro (see introduction.tex)
\include{Latex/Macros/MacroFile1}



%: ----------------------------------------------------------------------
%:                  TITLE PAGE: name, degree,..
% ----------------------------------------------------------------------
% below is to generate the title page with crest and author name

%if output to PDF then put the following in PDF header
\ifpdf  
    \pdfinfo { /Title  (The Micro-Foundations of Email Communication Networks)
               /Creator (TeX)
               /Producer (pdfTeX)
               /Author (Ofer Engel oengel@gmail.com)
               /CreationDate (D:201107022111)  %format D:YYYYMMDDhhmmss
               /ModDate (D:YYYYMMDDhhmm)
               /Subject (xyz)
               /Keywords (add, your, keywords, here) }
    \pdfcatalog { /PageMode (/UseOutlines)
                  /OpenAction (fitbh)  }
\fi


\title{{The Micro-Foundations of Email Communication Networks}}



% ----------------------------------------------------------------------
% The section below defines www links/email for author and institutions
% They will appear on the title page of the PDF and can be clicked
\ifpdf
  \author{\href{mailto:oengel@gmail.com}{Ofer Engel}}
%  \cityofbirth{born in XYZ} % uncomment this if your university requires this
%  % If city of birth is required, also uncomment 2 sections in PhDthesisPSnPDF
%  % Just search for the "city" and you'll find them.
  \collegeordept{\href{http://www2.lse.ac.uk/management/research/academic-groups/information-systems-and-innovation/home.aspx}{Information Systems and Innovation Group}}
  \university{\href{http://www.lse.ac.uk}{London School of Economics and Political Science}}

  % The crest is a graphics file of the logo of your research institution.
  % Place it in ./0_frontmatter/figures and specify the width
  \crest{\includegraphics[width=4cm]{logo}}
  
% If you are not creating a PDF then use the following. The default is PDF.
\else
  \author{Ofer Engel}
  \cityofbirth{Binghamton, NY, USA}
  \collegeordept{CollegeOrDept}
  \university{London School of Economics and Political Science}
  \crest{\includegraphics[width=4cm]{logo}}
\fi

%\renewcommand{\submittedtext}{change the default text here if needed}
\degree{Philosophi\ae Doctor (PhD)}
\degreedate{2013 May}



% ----------------------------------------------------------------------
       
% turn of those nasty overfull and underfull hboxes
\hbadness=10000
\hfuzz=50pt



%: --------------------------------------------------------------
%:                  FRONT MATTER: dedications, abstract,..
% --------------------------------------------------------------

\begin{document}

%\language{english}

% sets line spacing
\renewcommand\baselinestretch{1.2}
\baselineskip=18pt plus1pt


%: ----------------------- generate cover page ------------------------

\maketitle  % command to print the title page with above variables

%\language{english}

% sets line spacing
\renewcommand\baselinestretch{1.10}
\baselineskip=18pt plus1pt


%: ----------------------- generate cover page ------------------------

%\maketitle  % command to print the title page with above variables



%: ----------------------- abstract ------------------------


\include{0_frontmatter/abstract}



%: ----------------------- contents ------------------------

\setcounter{secnumdepth}{3} % organisational level that receives a numbers
\setcounter{tocdepth}{3}    % print table of contents for level 3
% \setcounter{page}{5}
\tableofcontents            % print the table of contents
% levels are: 0 - chapter, 1 - section, 2 - subsection, 3 - subsection

\listoffigures	% print list of figures

\listoftables  % print list of tables


%: ----------------------- glossary ------------------------

% Tie in external source file for definitions: /0_frontmatter/glossary.tex
% Glossary entries can also be defined in the main text. See glossary.tex

\include{0_frontmatter/glossary} 
%
\begin{multicols}{2} % \begin{multicols}{#columns}[header text][space]
\begin{scriptsize} % scriptsize(7) < footnotesize(8) < small (9) < normal (10)
%
\onehalfspacing 
\printnomenclature[.9cm] % [] = distance between entry and description
\label{nom} % target name for links to glossary
%
\end{scriptsize}
\end{multicols}




%: --------------------------------------------------------------
%:                  MAIN DOCUMENT SECTION
% --------------------------------------------------------------

% the main text starts here with the introduction, 1st chapter,...
\mainmatter

\setpagewiselinenumbers
\modulolinenumbers[5]
\linenumbers

%\renewcommand{\chaptername}{} % uncomment to print only "1" not "Chapter 1"


%: ----------------------- subdocuments ------------------------

% Parts of the thesis are included below. Rename the files as required.
% But take care that the paths match. You can also change the order of appearance by moving the include commands.

\include{1_introduction/introduction}	% background information
\include{2/chapter_2}						% aims of the project
\include{3/chapter_3}
\include{4/chapter_4}
\include{5/chapter_5}
\include{6/chapter_6}
%\include{7/chapter_7}
		

%\include{8/materials_methods}        % description of lab methods




% --------------------------------------------------------------
%:                  BACK MATTER: appendices, refs,..
% --------------------------------------------------------------

% the back matter: appendix and references close the thesis


%: ----------------------- bibliography ------------------------

% The section below defines how references are listed and formatted
% The default below is 2 columns, small font, complete author names.
% Entries are also linked back to the page number in the text and to external URL if provided in the BibTex file.

% PhDbiblio-url2 = names small caps, title bold & hyperlinked, link to page 
%\begin{multicols}{2} % \begin{multicols}{ # columns}[ header text][ space]
%\begin{tiny} % tiny(5) < scriptsize(7) < footnotesize(8) < small (9)

% \bibliographystyle{Latex/Classes/PhDbiblio-url2} % Title is link if provided

%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BIBLIOGRAPHY STYLE
% \usepackage{natbib}
% \bibliographystyle{plain} for [1], [2] etc.
%%%%%%%%%%%%%
% \bibliographystyle{plain} for [1], [2] etc.
% \bibliographystyle{apalike}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \renewcommand{\bibname}{References} % changes the header; default: Bibliography

% \bibliography{9_backmatter/zotero} % adjust this to fit your BibTex file

%\end{tiny}
%\end{multicols}

% --------------------------------------------------------------
% Various bibliography styles exit. Replace above style as desired.

% in-text refs: (1) (1; 2)
% ref list: alphabetical; author(s) in small caps; initials last name; page(s)
%\bibliographystyle{Latex/Classes/PhDbiblio-case} % title forced lower case
%\bibliographystyle{Latex/Classes/PhDbiblio-bold} % title as in bibtex but bold
%\bibliographystyle{Latex/Classes/PhDbiblio-url} % bold + www link if provided

% \bibliographystyle{Latex/Classes/jmb} % calls style file jmb.bst
% in-text refs: author (year) without brackets
% ref list: alphabetical; author(s) in normal font; last name, initials; page(s)

%\bibliographystyle{plainnat} % calls style file plainnat.bst
% in-text refs: author (year) without brackets
% (this works with package natbib)


% --------------------------------------------------------------

% according to Dresden med fac summary has to be at the end
%\include{0_frontmatter/abstract}



% \bibliographystyle{apalike}
\renewcommand{\bibname}{References} % changes the header; default: Bibliography
\bibliography{9_backmatter/zotero} % adjust this to fit your BibTex file
\bibliographystyle{Latex/Classes/jmb} % calls style file jmb.bst
\printindex




%: Declaration of originality
% \include{9_backmatter/declaration}

\end{document}
